]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Force size of overviewGroup
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 30 Jun 2022 13:36:47 +0000 (15:36 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sat, 2 Jul 2022 22:18:19 +0000 (22:18 +0000)
The overviewGroup's size is currently determined by the coverPane
actor. That actor is only shown during transitions, so we rely on
ClutterFixedLayout including hidden children in its size request.

That odd behavior is about to change, so we need to make sure the
overview still requests the correct size.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2351>

js/ui/layout.js

index 0292dd002554032ad8aef8acc72eb8296dcaf1e5..9bce25881108a8ed0762e4dc9ffc1337a9fdef56 100644 (file)
@@ -233,6 +233,10 @@ var LayoutManager = GObject.registerClass({
             name: 'overviewGroup',
             visible: false,
             reactive: true,
+            constraints: new Clutter.BindConstraint({
+                source: this.uiGroup,
+                coordinate: Clutter.BindCoordinate.ALL,
+            }),
         });
         this.addChrome(this.overviewGroup);